package yingyong;

import java.util.Arrays;
import java.util.Scanner;

public class demo1 {
    public static void main(String[] args) {
        Integer []arr = {5, 2, 4, 8, 6 , 9, 3, 7};
        Arrays.sort(arr, demo1 :: subtract);
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        System.out.println(s);
    }

    public static int subtract(int a, int b){
        return b-a;
    }
}
